import pytest

from src.main.calculator_code import Calculator


@pytest.fixture(scope='class')
def create_ob():
    print('-------------前置准备：实例化功能类对象')
    cal = Calculator()
    yield cal

    print('\n-------------测试结束')
